package com.gf.pokemon.platform.exception;

import java.util.HashMap;
import java.util.Map;

public class PokeErrorCode {
    public static Map<Integer, String> errorMsgMap = new HashMap<Integer, String>();

    /**
     * 1-100 系统错误区
     */
    public static Integer SYSTEM_ERROR = 1;
    public static String SYSTEM_ERROR_MSG = "system error!";

    static {
        errorMsgMap.put(SYSTEM_ERROR, SYSTEM_ERROR_MSG);
    }

    public static Integer INVALID_PARAM = 2;
    public static String INVALID_PARAM_MSG = "参数错误!";

    static {
        errorMsgMap.put(INVALID_PARAM, INVALID_PARAM_MSG);
    }

}
